<!--走访数据-->
<top-title title="新增装修户" icon="am-icon-user"></top-title>
<div class="am-padding-sm">
  <form class="am-form am-form-horizontal am-text-sm">
    <horizontal-item config-data="{name:'房号：',type:'text'}"
                     ng-model="roomno"></horizontal-item>
    <horizontal-item config-data="{name:'业主姓名：',type:'text'}" ng-model="building.name"></horizontal-item>
    <horizontal-item config-data="{name:'联系方式：',type:'text'}" ng-model="building.tel"></horizontal-item>
    <horizontal-item config-data="{name:'推广方式：',type:'text'}" ng-model="building.type"></horizontal-item>
    <horizontal-item config-data="{name:'装修公司：',type:'text'}" ng-model="building.rcompany"></horizontal-item>
    <horizontal-item config-data="{name:'装修负责人：',type:'text'}" ng-model="building.rcname"></horizontal-item>
    <horizontal-item config-data="{name:'装修联系方式：',type:'text'}" ng-model="building.rctel"></horizontal-item>
    <!-- 装修起止时间-->
    <div class="am-form-group">
      <label class="am-u-sm-3 am-form-label mh-padding-none" for="stime">装修起止时间：</label>

      <div class="am-u-sm-9 mh-padding-none">
        <input type="date" id="stime" class="am-input-sm am-radius am-form-field"
               style="background-color: #ebebeb;border:0;" ng-model="building.startrentime">
      </div>
    </div>
    <div class="am-form-group">
      <label class="am-u-sm-3 am-form-label mh-padding-none" for="etime">-</label>

      <div class="am-u-sm-9 mh-padding-none">
        <input type="date" id="etime" class="am-input-sm am-radius am-form-field"
               style="background-color: #ebebeb;border:0;" ng-model="building.endrentime">
      </div>
    </div>
    <div class="am-form-group">
      <label class="am-u-sm-3 am-form-label mh-padding-none" for="remark">庭院详情：</label>

      <div class="am-u-sm-9 mh-padding-none">
        <textarea type="date" id="remark" class="am-input-sm am-radius am-form-field"
                  style="background-color: #ebebeb;border:0;" ng-model="building.remark"></textarea>
      </div>
    </div>
    <horizontal-item config-data="{name:'计划签约时间：',type:'date'}" ng-model="building.plantime"></horizontal-item>
    <horizontal-item config-data="{name:'实际签约时间：',type:'date'}" ng-model="building.actualtime"></horizontal-item>
    <button type="submit" class="am-btn am-btn-default am-radius am-form-field mh-lightgreen mh-text-white"
            ng-show="isShow"
            ng-click="addRenovation(building)">保存
    </button>
  </form>
</div>
